package com.xique.park.constant;

import lombok.experimental.UtilityClass;

/**
 * ParkApiName
 *
 * @author XIQUE
 */
@UtilityClass
public class ParkApiName {

    /* ------------------------- 接口版本号 ------------------------- */

    public static final String VER_1_0 = "1.0";

    public static final String VER_2_0 = "2.0";

    public static final String VER_3_0 = "3.0";


    /* ------------------------- 1、车辆 ------------------------- */

    /**
     * 下载车辆
     */
    public static final String COMMAND_CAR_DOWNLOAD = "service.park.command.down_car";

    /**
     * 删除车辆
     */
    public static final String COMMAND_CAR_DEL = "service.park.command.del_car";

    /**
     * 获取车辆信息
     */
    public static final String COMMAND_CAR_GET = "service.park.command.get_car";

    /**
     * 获取车辆数量
     */
    public static final String COMMAND_CAR_CNT_GET = "service.park.command.get_car_cnt";

    /**
     * 删除全部车辆
     */
    public static final String COMMAND_CAR_DEL_ALL = "service.park.command.del_all_car";


    /* ------------------------- 2、车场参数 ------------------------- */

    /**
     * 设置车场参数
     */
    public static final String COMMAND_SET_PARK_PARAM = "service.park.command.set_park";

    /**
     * 获取车场参数
     */
    public static final String COMMAND_GET_PARK_PARAM = "service.park.command.get_park";


    /* ------------------------- 3、车库参数 ------------------------- */

    /**
     * 设置车库参数
     */
    public static final String COMMAND_SET_GARAGE_PARAM = "service.park.command.set_garage";

    /**
     * 删除车库参数
     */
    public static final String COMMAND_DEL_GARAGE_PARAM = "service.park.command.del_garage";


    /* ------------------------- 4、通道参数 ------------------------- */

    /**
     * 设置通道参数
     */
    public static final String COMMAND_SET_LANE_PARAM = "service.park.command.set_lane";

    /**
     * 获取通道参数
     */
    public static final String COMMAND_GET_LANE_PARAM = "service.park.command.get_lane";


    /* ------------------------- 5、设备参数 ------------------------- */

    /**
     * 设备初始化
     */
    public static final String COMMAND_DEV_INIT = "service.park.command.dev_init";

    /**
     * 重启设备
     */
    public static final String COMMAND_SET_REBOOT = "service.park.command.reboot";

    /**
     * 重启应用程序
     */
    public static final String COMMAND_SET_REBOOT_APP = "service.park.command.reboot_app";

    /**
     * 重启设备监控进程
     */
    public static final String COMMAND_SET_REBOOT_MONITOR = "service.park.command.reboot_monitor";

    /**
     * 下载副摄像机
     */
    public static final String COMMAND_DOWN_SUB_IPC = "service.park.command.down_subipc";

    /**
     * 删除副摄像机
     */
    public static final String COMMAND_DEL_SUB_IPC = "service.park.command.del_subipc";

    /**
     * 设置设备参数--附加设备
     */
    public static final String COMMAND_SET_DEV_PARAM = "service.park.command.set_devparam";

    /**
     * 音量测试
     */
    public static final String COMMAND_VOLUME_TEST = "service.park.command.volume_test";

    /**
     * 设置LED屏参数
     */
    public static final String COMMAND_SET_LED_PARAM = "service.park.command.set_led";

    /**
     * 获取LED屏参数
     */
    public static final String COMMAND_GET_LED_PARAM = "service.park.command.get_led";

    /**
     * 设置时间
     */
    public static final String COMMAND_SET_TIME = "service.park.command.set_time";

    /**
     * 获取时间
     */
    public static final String COMMAND_GET_TIME = "service.park.command.get_time";

    /**
     * 通道地感状态和通道闸状态
     */
    public static final String COMMAND_GET_SENSE = "service.park.command.get_sense";


    /* ------------------------- 6、车辆&管理类型 -------------------------*/

    /**
     * 下载车辆管理类型
     */
    public static final String COMMAND_MNG_TYPE_DOWNLOAD = "service.park.command.down_mngtype";

    /**
     * 获取车辆管理类型
     */
    public static final String COMMAND_MNG_TYPE_GET = "service.park.command.get_mngtype";

    /**
     * 删除车辆管理类型
     */
    public static final String COMMAND_MNG_TYPE_DEL = "service.park.command.del_mngtype";

    /**
     * 删除全部车辆管理类型
     */
    public static final String COMMAND_MNG_TYPE_DEL_ALL = "service.park.command.del_all_mngtype";

    /**
     * 下载车辆管理类型通道通行权限
     */
    public static final String COMMAND_PASS_AUTH_DOWNLOAD = "service.park.command.down_passauth";

    /**
     * 获取车辆管理类型通道通行权限
     */
    public static final String COMMAND_PASS_AUTH_GET = "service.park.command.get_passauth";

    /**
     * 删除车辆管理类型通道通行权限
     */
    public static final String COMMAND_PASS_AUTH_DEL = "service.park.command.del_passauth";

    /**
     * 删除全部车辆管理类型通道通行权限
     */
    public static final String COMMAND_PASS_AUTH_DEL_ALL = "service.park.command.del_all_passauth";


    /* ------------------------- 7、岗亭命令 ------------------------- */

    /**
     * 手动入场或出场
     */
    public static final String COMMAND_MARK_CAR_IN_OR_OUT = "service.park.command.mark_car_inout";

    /**
     * 手动入场
     */
    public static final String COMMAND_MARK_IN = "service.park.command.mark_in";

    /**
     * 更新车场车位相关命令（包括：车场总车位，在场车辆数，剩余车位数）
     */
    public static final String COMMAND_UPDATE_SPACES = "service.park.command.update_spaces";

    /**
     * 远程开闸
     */
    public static final String COMMAND_SET_GATE = "service.park.command.set_gate";

    /**
     * 远程关闸
     */
    public static final String COMMAND_CLOSE_GATE = "service.park.command.close_gate";


    /* ------------------------- 8、计费规则命令 ------------------------- */

    /**
     * 设置车辆管理类型的计费价格
     */
    public static final String COMMAND_SET_MNGTYPE_CHARGE = "service.park.command.set_charge";

    /**
     * 获取车辆管理类型的计费价格
     */
    public static final String COMMAND_GET_MNG_TYPE_CHARGE = "service.park.command.get_charge";

    /**
     * 下载计费价格--通用方法
     */
    public static final String COMMAND_DOWN_CHARGE_TEMPLATE = "service.park.command.down_charge_template";

    /**
     * 删除车辆管理类型的计费价格
     */
    public static final String COMMAND_DEL_MNGTYPE_CHARGE = "service.park.command.del_charge";

    /**
     * 删除车辆管理类型的计费价格
     */
    public static final String COMMAND_DEL_ALL_MNGTYPE_CHARGE = "service.park.command.del_all_charge";

    /**
     * 删除计费价格
     */
    public static final String COMMAND_DEL_CHARGE_TEMPLATE = "service.park.command.del_charge_template";

    /**
     * 删除全部计费价格
     */
    public static final String COMMAND_DEL_ALL_CHARGE_TEMPLATE = "service.park.command.del_all_charge_template";

    /* ------------------------- 9、文件类命令 ------------------------- */

    /**
     * 下载文件
     */
    public static final String COMMAND_FILE_DOWNLOAD = "service.park.command.down_file";

    /**
     * 获取文件
     */
    public static final String COMMAND_FILE_GET = "service.park.command.get_file";

    /**
     * 固件升级
     */
    public static final String COMMAND_SOFT_UPGRADE = "service.park.command.upgrade";


    /* ------------------------- 10、移动端命令 ------------------------- */

    /**
     * 无牌车扫码入场
     */
    public static final String COMMAND_MARK_UNLICENSED_CAR_IN = "service.park.command.mark_unlicensed_car_in";
}
